package com.lw.sbdemo2.entity;

import com.lw.sbdemo2.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * <p>标题: 试卷商品主表实体</p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2019</p>
 * <p>公司: 山人行工作室</p>
 *
 * @version: 1.0
 * @author: LinWang
 * @date 2019-4-14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Alias("TkExamProductMaster")
@ApiModel(description = "试卷商品主表实体")
public class TkExamProductMaster extends BaseEntity {

	@ApiModelProperty(value = "试卷ID")
    private java.lang.String examId;
	@ApiModelProperty(value = "试卷名称")
    private java.lang.String examName;
	@ApiModelProperty(value = "试卷价格")
    private BigDecimal examPrice;
    @ApiModelProperty(value = "试卷原始价格")
    private BigDecimal examPriceOld;
	@ApiModelProperty(value = "试卷封面")
    private java.lang.String examCover;
	@ApiModelProperty(value = "试卷描述")
    private java.lang.String examDesc;
	@ApiModelProperty(value = "温馨提示")
    private java.lang.String warnPrompt;
	@ApiModelProperty(value = "试卷类型")
    private java.lang.String examType;
	@ApiModelProperty(value = "创建时间")
    private java.util.Date createdTime;
	@ApiModelProperty(value = "修改时间")
    private java.util.Date modifiedTime;
	@ApiModelProperty(value = "有效标志")
    private java.lang.String validFlag;
	@ApiModelProperty(value = "所属单元")
    private java.lang.String subUnit;
    @ApiModelProperty(value = "所属单元列表")
    private java.lang.String subUnits;
    @ApiModelProperty(value = "所属单元列表")
    private String[] subUnitArr;
    @ApiModelProperty(value = "产品ID")
    private java.lang.String gradeId;
	@ApiModelProperty(value = "难度级别")
    private java.lang.String difficultyLevel;
	@ApiModelProperty(value = "上架状态")
    private java.lang.String onState;
	@ApiModelProperty(value = "考试时间")
    private Long examTime;
	@ApiModelProperty(value = "合格分数")
    private Long passingScore;
	@ApiModelProperty(value = "总分")
    private Long totalScore;
	@ApiModelProperty(value = "备注")
    private java.lang.String remark;

    @ApiModelProperty(value = "试卷单元名称")
    private java.lang.String examUnitName;

    @ApiModelProperty(value = "学期名称")
    private java.lang.String termName;

    @ApiModelProperty(value = "学期id")
    private java.lang.String termId;

    @ApiModelProperty(value = "单元id")
    private java.lang.String examUnitId;

    @ApiModelProperty(value = "排序号")
    private java.lang.String sortNo;

    @ApiModelProperty(value = "视频地址")
    private java.lang.String videoUrl;

    @ApiModelProperty(value = "视频配置")
    private java.lang.String videoConfig;

    @ApiModelProperty(value = "试用标识")
    private java.lang.String freeFlag;

    @ApiModelProperty(value = "上次观看时间（秒）")
    private java.lang.Integer preLookSecond;
    @ApiModelProperty(value = "已观看标识")
    private java.lang.String hasLook;

    List<TkExamProductDetail> quesList;
    String quesMapStr;
    Map<String, List<TkExamProductDetail>> quesMap;
    Map<String, String> errorMap;
    private String userId;

    List<TkExamProductDetail> allList;
}
